package com.ncmmall.api.security.aop;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author linxs
 *         API接口切面
 */
public class ApiBeforeAdvice implements MethodBeforeAdvice {

    private final Logger logger = LoggerFactory.getLogger(ApiBeforeAdvice.class);

    /**
     * 方法访问前切面
     *
     * @param method
     * @param args
     * @param target
     * @throws Throwable
     */
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        // do nothing...
    }

}
